<template>
  <div >
      <el-row style="margin-left:3px;" >
        {{ this.statusName }}<span v-if="closed===1">(已关闭)</span>
      </el-row>
  </div>
</template>

<script>
import { ajax } from "@/store/yg/common/utils";
export default {
  props: [
　　'row', 'data', 'more'
　],
  data() {
    return {
      closed:0,
      statusSource: {}, //状态map
      statusName:"",
    };
  },
  
  methods: {
  },
  async mounted() {
    console.log(this.data);
    const map = await ajax("initStatus", {});
    console.log(map);
    this.closed = this.data['closed'];
    this.statusName = map[this.data['state']];
    console.log(this.statusName);
  }
};
</script>

<style>
.top {
      text-align: center;
    }
</style>
